package com.neusoft.bigdata.hbase.model;

import java.util.HashMap;
import java.util.Map;

/**
 * 排序数据模型
 * 
 * @author lihzh
 * @date 2012-11-21 下午5:33:43
 */
public class OrderData {

	public static enum Prefix {
		VAPP, USER, RES
	}

	private Prefix prefix;
	private String metircName;
	private long calTime;
	private int timeRange;
	private int order;
	private Map<String, String> valueMap = new HashMap<String, String>();

	public Prefix getPrefix() {
		return prefix;
	}

	public void setPrefix(Prefix prefix) {
		this.prefix = prefix;
	}

	public String getMetircName() {
		return metircName;
	}

	public void setMetircName(String metircName) {
		this.metircName = metircName;
	}

	public long getCalTime() {
		return calTime;
	}

	public void setCalTime(long calTime) {
		this.calTime = calTime;
	}

	public int getTimeRange() {
		return timeRange;
	}

	public void setTimeRange(int timeRange) {
		this.timeRange = timeRange;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public Map<String, String> getValueMap() {
		return valueMap;
	}
	
	public void addValue(String name, String value) {
		valueMap.put(name, value);
	}

}
